package com.ruoyi.business.service;

import java.util.List;

import com.alibaba.fastjson2.JSONObject;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.domain.MobileExhibitors;

/**
 * 参展商Service接口
 *
 * @author ruoyi
 * @date 2024-06-13
 */
public interface IMobileExhibitorsService extends IService<MobileExhibitors> {
    /**
     * 查询参展商
     *
     * @param id 参展商主键
     * @return 参展商
     */
    public MobileExhibitors selectMobileExhibitorsById(Long id,String openId);

    /**
     * 查询参展商列表
     *
     * @param mobileExhibitors 参展商
     * @return 参展商集合
     */
    public List<MobileExhibitors> selectMobileExhibitorsList(MobileExhibitors mobileExhibitors);

    /**
     * 新增参展商
     *
     * @param mobileExhibitors 参展商
     * @return 结果
     */
    public int insertMobileExhibitors(MobileExhibitors mobileExhibitors);

    /**
     * 修改参展商
     *
     * @param mobileExhibitors 参展商
     * @return 结果
     */
    public int updateMobileExhibitors(MobileExhibitors mobileExhibitors);

    /**
     * 批量删除参展商
     *
     * @param ids 需要删除的参展商主键集合
     * @return 结果
     */
    public int deleteMobileExhibitorsByIds(Long[] ids);

    /**
     * 删除参展商信息
     *
     * @param id 参展商主键
     * @return 结果
     */
    public int deleteMobileExhibitorsById(Long id);

    /**
     * @Author liumaotong
     * @Description 根据地址查询GPS坐标
     * @Date 2024/6/16
     * @Param [mobileExhibitors]
     * @return com.ruoyi.business.domain.MobileExhibitors
     */
    JSONObject getGpsByAddress(MobileExhibitors mobileExhibitors);
}